test for VersionedKeyValSource crashes with ClassCastException