Added getInfo test cases for Platform and Device