Yes, I know. But with having them in .gitignore I couldn't add test/Makefile.am.
Solution is to add them again now? But then test/Makefile.am will be also ignored.