Added support for rotating status codes

- Support for rotating status codes
- Tests for multiple status codes