building out proper unit tests
more autotools madness