user foreign key in products and tests

user foreign key in products and tests