added unit test on product validations.