Fixed preference strings.
Removed unused test method.