add test case of DetailView
add test case for ResultsView and vote