add a test for product()
remove unused value