Node helper methods; more tests around broken calc logic