Find nCr for given n and r.
First line contains number of test cases T. T testcases follow. Each testcase contains 1 line of input containing 2 integers n and r separated by a space.
For each testcase, in a new line, find the nCr. Modulus your output to 109+7.
1 <= T <= 50
1<= n <= 103
1<= r <=800