Adds tests for `getDevices` and `getHandle` functions