reference triangle initialization returns errorcode on failure
update tests to check error code of reference triangle initialization