more testcases for keyBaseName
add some more tests