Added unit test for 'BmpCachePersister'.