A bunch of pcp::cache tests, including fixes for a couple of bugs in two pcp::cache::lookup and on pcp::cache::store overloads that were revealed by these tests.