Write product detail view test