test cleanup + testing for declared showDetail functions