Fixed domain test to add origin separately.