Add more test to cover job post collections, and fix mongo db config under test env