Add first test for client.js