Refs #55, TestEnvironment makes sure sample media exists before getting a random sample.