added test helpers to clear config after tests