Improved Web API tests.