Added tests for height_of_device and cores_count

- Added tests for height_of_device and cores_count