fix test and validation ctx
shopping cart test sample