Relax tests
Fails to get through CMake if Ruby and test-unit aren't available on the host machine. This seems overly restrictive: there's one test that needs it, so rather than disable testing for my own builds, just condition the test on its requirements.
While here, fix some indentation.