syntax cleanup
replace deprecated property names with proper names
implemented check for global failures in addition to 'test completion'