rearranged test cases for easier coverage