now tests all test cases