now check test cases!