[PATCH 10/12] tests: Simplify explicit checks for command success