Fixing xunit reporter to handle hook names properly