clears mappers beforeEach, handles null objects