added an example test for NullCache