Implemented new uri parser in ApiFilter. Added few test cases