swift fog class testing