Add test generation to Makefile.am, remove extraneous _LIBADD arguments.