Specs returns exit code 1 when errors occurs