implemented ignoreCase flag
added tests for TagExp.test()