VID-1302 fix css class, remove extra check, have rail test source right cases'