Add more unit tests (cache timing).