Updated test cases of Cache class.
Cleaned up test cases of Theme class.