PLAT-4908 - Fix database test

Caused by cut-and-paste in PLAT-4509
PLAT-4908 - Fix database test

Caused by PLAT-4864
PLAT-4908 - Fix database test

Caused by PLAT-4513
PLAT-4908 - Fix database test

Caused by PLAT-3995