Model unit tests

Added some unit tests for the Product Models.