test cases
sol of q059