Check for invalid nested selector
Implemented nth-of-type pseudo selector
Added  more CSS unit tests