Add testcase for product REST endpoints.

- add name to url patterns
- add REST as default request format for testing.
- add testcases for add/read/edit/delete/list product(s) of a vendor.