Week 9 Assignment: unit testing