Updating db connection and respective unit tests to mongoengine connection