Adds mocha tests for user-management