Add test-w to Makefiles

`make test-w` will run the tests, then watch files for changes and run
them again whenever it sees one.