adding test for client controller