On detail page, make tests pop-ups rather than links to test page; fixes #136