I have a similar type in the same price range, and they work fine. Notice how the lower plastic part of the lid buckles are loosely threaded onto the strap. If it's not buckled, it will fall off during a ride. I punched a hole near the end of the strap and put a zip tie through the strap so the buckle can't fall off if I forget to buckle it.
I have this set. Notice how there is a slot at the back at the top to let it slide over the rear rack for bungee cord installation. (US Amazon website)