Badge tests