Converted tests to webmock.