add test for DetailView