Convert Tests to Swift.
Convert tests to Swift.