moved request parses unit test to tests.py, converted to unittest format