Fixes and new test from PDDL planning