test refactored webservice