Test getNumberOfDevices.
Closes #37
Testing getDeviceId
Closed #39
Merge pull request #50 from kmpm/tests

Tests