Refactored code / renamed tests
Added tests for postman request capturing