make mock an instance of Backend in test_mapper