unit tests for TDD for se701 assignment 4