Add functional tests for swift3

Change-Id: Ifa65198f90d74559914764065cbe18176ef90b7f
Merge "Add functional tests for swift3"