Rename tests directory to test.
Update Makefile and dependencies.