Use autoconf to build test program.
Added noinst_PROGRAMS.