Use it at your own risk, but I found this test from Marco Arment to be one of the most popular ones to determine if your retinaMacBook Pro has ghosting / burn-in problem.
I am not sure which one of two manufacturers display is faulty, but per discussions on Apple's support Communities (https://discussions.apple.com/message/18669644#18669644), rMBPs carrying display panel from LG tends to suffers from this problem more commonly compared to those from Samsung.
EDIT: Just ran this test on a retinaMacBookPro to determine if I have a LG or Samsung Panel and found it to be working.
http://www.marco.org/rmbp-irtest.html
I am not sure which one of two manufacturers display is faulty, but per discussions on Apple's support Communities (https://discussions.apple.com/message/18669644#18669644), rMBPs carrying display panel from LG tends to suffers from this problem more commonly compared to those from Samsung.
EDIT: Just ran this test on a retinaMacBookPro to determine if I have a LG or Samsung Panel and found it to be working.
http://geeksblogs.com/lg-or-samsung-heres-a-little-guide-to-...