Code

Makefile.am: Link tests with required libraries, too.