Add new tagging tests.
Move tests to proper places.
Reorganize tagging tests.
Move image cache tests to own file.
Add timers to all tests.
Rewrite search tests.