write test and begin homework #5