test($cordovaDevice): add unit tests
Merge pull request #312 from mrzmyr/test-device

test($cordovaDevice): add unit tests