Add makefiles for tests.