Bug fix: correct attribute name for benchmark.

This allows testcode to be run without any benchmark defined (which is
required for the initial bootstrap, usually).