swift unit tests
Merge pull request #444 from Zipfer/develop

swift unit tests