test for swift