remove old unit test
use script to produce magic.c from magic.c.tmpl