unit tests for hw1 setup