Tightening hidden classname test