Move test samples: testActionDef to DBClient.cc to be used from other tests.