fix typo in librstpkg tests, allowed by old parser
add test case for enum disambiguation