more compile for unit tests after factoring out main.h, now it really does build this time.