Correcting test by avoiding mongo test if you don't have mongo available