China today reacted sharply to army chief Gen Bipin Rawat's assertion that Beijing was testing India's limits, saying the remarks were contrary to the views expressed by Prime Minister Narendra Modi and President Xi Jinping during their meeting in Xiamen this week.