Added tests to check that the status code and headers are being set