altered code to set the group headers to reflect the status' of the tests