web service with test facilities