(test) nodejs, mongoose and a register provider