Added foreman to production
Added test for redirections when in error and not