Add selector test
Fix last selector can not match
Add ID selector test