Merge branch 'feature/issue_394' of https://github.com/stan-dev/stan into feature/issue_394
fixed failing test