Added new unit test for DetailView.