Tests working with a refactoring of makefile