Make sure that we check for all requested properties in test runner.

Only ‘version’ was checked, because of plain for loop. Switch to
forEach() and closure.