initial work on tests for client code