fixed issue with extracting k/v pairs by key digest and added tests