added testcases + bugfixes for specification parser