Added torrent and keyboard tests.