fixed makefiles in tests