working on tests
finished writing client tests