adds link_options for custom link attributes, extends partials, adds tests