Fixing Code Climate issues in ClientTest