Updated test_syntax to work with new runner types