finished hw5 testing