testing the type returned by the response types