[CLEANUP] Use memory engine for running unit tests if DB supports it