Update ignore files.
Rename tests to test.
Update Makefile and dependencies.
Reorganize tests.
Fix tests.