added minunit.h for basic unit testing