Add a syntax test to help support multiple Rubies

This is no real gain on Travis, which runs the full test suite
against two Rubies. It does catch a few types of error when
running tests locally.