tests: Use &error_abort where appropriate