test: Only run extended tests for selected cases

Not every successful case is worth the extended tests, since some of the
cases are redundant.  Only run extended tests when the "primary" config
property is true.
test/driver: Add command to time openslide_open() on primary cases