Add tests for detail page (and upgrade context)