test detail view