test for determinating platform