Simplifications and fixes in the tests of MULTIDB_PINNING_VIEWS