Tests for helper functions added. Node path determiner fixed. Fixes #9 and #13.