Added preference for marking long runtime tests and refactored some preferences.