Changed helper to explicit module, added basic tests
Changed require to require_relative in test, so can test from any directory