Test and improve the error handling of FORWARD chain commands