Fixed issues regarding results from client-side methods
Updated test