Unit Testing: check HTTP Status Codes