Added spec case for #306.
Merge pull request #457 from simi/306_spec_case

Added spec case for error in the middle of multiple results