Merge branch 'hotfix/1009'

Close #1009
Fixed wrong `assertResponseCode` [Close #999]

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