Fix test and add badge.