Moved response body checking logic out of models
Fixed bytes comparison issue for python 3 unit tests
Use python3-supported exec() function