refactor tests

Move MockURLStreamHandler class into its own file