Moved request api tests from test_views.py to test_request_api.py

This pull requests moves request API related tests from test_views.py to test_request_api.py  where they more appropriately belong.