Closes #2

Adding some tests using super test
Refactored grasshopper.js to make it more easily testable