Adding tests for scheduler cache