custom errors templates, simplified partials, specs updated