User model save funciton error in mocha test