Unit test for assignment 3 + 4 in the report.