added test database config, product model validations, and tests