added 1 test to badge, and some other small fixes