DM-1070 fix unit test which depends on table version 0
Merge branch 'tickets/DM-1070'