test setting badge number on load