Run "make check" to test spiro.c UNIT_TEST

Moved UNIT_TEST from bottom of spiro.c and into 'tests' subdirectory where
it can be run as one of several tests when you run "make check".