wrote passing tests for products