possible caching problem with themelocks, tests (bug 856141)