Add functional tests for testing from a running Swift