Fixed the size limit tests in Python 3

- None cannot be compared to an integer in Python 3
- In Python 3 a request body must be bytes

bp python3

Change-Id: If3944f84d41f54089a8d245848c3012d566385f1