Add test for initializing client with non-hash