refactor alias field in joined table test