Add swift tests, Fix glance tests