Add models file as factory
Fix async mongo testing issues