Modularizing mocha test helpers for users and tasks