Check for alias before calling XTables.final_check_match().
Add tests for matches/targets with aliases.