fixed nosetest errors from hw4