add test for error status integer