Testing for isOnPlatform