add clinet tests with protractor
fix client spec error