Bug/cant call google analytics

Some fixes to the test interface which are general fixes but in particular allow it to use the Google Analytics integration.