unit test for device version