added test for testKeyPrefix, refs #125