added view testing functionality for web service wrapper