Improving TestTotalRequestsValidator

Added test_get_js_requests and test_get_total_size_js
TestTotalRequestsValidator: Removed unnecessary import