Bug 916845: Add functions for testing lazily-retrieved sources. r=ejpbruel