No point in setting LDADD for every single binary, when we can do it just once. Also, generate test.in files.