Use `let` to set stdout for simplifying specs