Testsuite

ok so, i fixed up the tests and knocked up some makefiles to drive them... it is not quite done yet, but i thought you maybe want to look at it and comment :)

one question is - what do you think is a good way to compare reference output with the output of the tests? a small tool that is included in the test suite? (this can not be done using just "make" i guess?)
The directory is searched, for the same files, eight times!  I suggest that you use `$(wildcard)` separately; put its result in a variable; then, use that variable to build the TESTS string.