Added grunt test task.
Client lib updates.