removed extra client instantiation from test