Convert FileCacher testing to unittest style.

Unfortunately it doesn't seem to work.