move these two rows to a method hasLedSystemFeature() and maybe the test should fail if it is not available