Added tests for candi.Error