added test for platform type