fix code format
Product interface and updated test with mocking