-added unit tests for product class.