change: modified client tests to support angularJS testing