Fixes typo in test_mongo_store
Adds regression test to the error when saving worker output