Added spec case for error in the middle of multiple results

@simi this is from #306.