LE already provides such a test. You'll know when you've failed.