added p2-p6.swift tests