fix unit tests by not using the new create_eid implementation with sqlite
Actually, fix a couple of issues with a previous attempt:
* do not use double underscores as method patching will fail with these
* old method must always be used with sqlite regardless of the no_sqlite_wrap attribute