Fixed simulator unittest