Added unit tests for wp_cache_init() and wp_cache_replace().

props tollmanz . Fixes #24208.

git-svn-id: https://unit-tests.svn.wordpress.org/trunk@1275 4a5a2adb-35eb-4268-9a1b-fe04a4134342