Fix tests for dbSelectOne