test($cordovaCamera): add unit tests
test($cordovaPreferences): add unit tests
Merge pull request #316 from mrzmyr/test-prefs

test($cordovaPreferences): add unit tests