mock request_test unnecesary lines deleted