Fix APIRequestTestCase

This needs to become a base class to catch up with the changes made to `RequestTestCase`.
If this is  a bugfix, it should be `3.0.1`