shared core tests introduced for postgres and mysql (#cleanup)