Convert tests to expect syntax