finished front-end unit tests for assignment