Unit tests for exercise-class