Correct the local address check in TESTSET.

We need to check this before translation, as the translation
function will translate both local and global addresses.