TDD finished function declaration parser