sandbox testing instanceof operator