Method with 7 test cases