I have no personal experience with pre-employment tests but it's up to them. I believe they generally allow you to re-test but i've heard some people just get failed.

To avoid that, make sure to take creatine supplements or eat a bunch of red meat a few days before the UA.