modiied makefile to work with main file and removed test file