Fixed config.h.in, added a test.