Added tests in src/test, modified make file to compile main programs and tests separately