Add test/ directory and simple unit test runner.