Updated translate attribute tests