Added Swift zerostate unittest
Add metadir unit test
Undo debug
Merge pull request #590 from egbertbouman/swift_tests

More Swift tests