Rearrange tests, make MongoDB reqs optional