How did you test it? Covered in soapy water and blew into a line? Did you by chance open and close the lid like you would while it's in the car?
I had a bad tank, when I would close the lid and press with my finger it wouldn't leak at all, but if I cycled the lid a few times like it was in the car and just let the spring snap it closed it would leak like a sun of a gun.