Cache calculations during tests
Test with a proper representative sample