Trying to come up with test cases and client code