specs on passing error through next call