Add basic tests for Swift backend (STOX-31)