Add auto-test target

Compiles and run tests whenever source files are changed.

Fixes #216