added tests for client #persist