String test for type equallity