fixed Makefile.am to add dependency on libTest.la explicitly.

The previous version of Makefile doesn't relink libTest even when
it is updated.