Fix test failures

Merged in the changes from @viveksjain and fixed any test failures that came up.
why put this code in here, if it's not actually refreshing the torrent details? wouldn't it make more sense to trigger a different event for this?