test cases for input