add test case for css level4 selector optionality pseudo-classes

please review this.