Fixed wrong `assertResponseCode` [Close #999]

Changed `assertResponseCode($code)` into `assertResponseStatusCode($code)`. Fixes #999.
Merge pull request #1017
Merge pull request #1017 in master