add swift on controller test