get test passing in cases where Error not installed