fix for swift tests