Cleaned up test programs, created Makefile for them