hooked up mongoose and added to 2 more tests for posts