Added view adapter for ajax-requests
Unit-tests fix