Swift language testing