Conditionally compile tests and benchmarks for containers >= 0.5

Some recently added tests and benchmarks require containers >= 0.5. We're already doing conditional compilation on this package, so I added a few more cases where a test or benchmark may be absent for containers < 0.5.