fix tests to work with newer ngAnimateMock