Updated test for GRADLE-3107 to verify that the cached value is updated