Remove CSS*Selector classes and port its tests