tools/test/Makefile: add Javascript indentation and more testing