check dbversion constant in tests