changed default preferences to false, fixed test in event handler and preferences spec