Gets rid of unneeded NL table aliases in tests.