testing errorcodes