Test suite changes

- Use cutest instead of test-unit/contest.
- Reorganize tests.
- Use make instead of rake.