Replace Makefile with a testing-related Makefile, add some very simple unit tests