fixed tests and webmock