adding testing helper to mock attr dependencies