added tests for scheduler cache.