adds a test and implementation check for empty preferences
Merge pull request #810 from gidden/empty-req

adds a test and implementation check for empty preferences