Set capabilities 'name' attribute to test name.