Added COMPLETE and ERROR state generic tests.