swap got and expected in leap test_case