verifying status 200 in the test