update Makefile and tests of automodification