added product detail view and tests for it