Created basic unit tests for product factory