Added tests for clients controller