automatically replace badge of same type
update tests
0.3.1