Fixed unit test of 'BmpCachePersister'.