Added tests for products

This covers creation (including image upload), editing, deletion, and
undoing deletion.

Btw, I added a picture of pears to the repo so that the tests will work
without you having to find a picture yourself.