common: add test for conametion with keyFilePath.