added coverage to test_req
fixed imports