slight refactoring of the test to remove redunant imports and use patch object
slight refactoring of the test to remove redunant imports and use patch object

geometalab/osmaxx,geometalab/osmaxx-frontend,geometalab/osmaxx,geometalab/osmaxx-frontend,geometalab/osmaxx,geometalab/osmaxx-frontend,geometalab/osmaxx,geometalab/osmaxx-frontend