Added restrictions of the test cases.