Asserting the status code and primitive collection