Supreme Court to consider tribunal fees and legal aid residence test