Installed a basic test suite.
Renamed m4 dir into build.
Fixed a warning in non-interactive mode.
Factorized some code.