This should move into a fixture / test/ mocking etc?