acceptance tests for detail and index pages

with a couple TODO notes