jormungandr: improve tests