added products validation and tests