add metadata test and test torrent files
use github.com/bmatsuo/torrent instead of metadata