added badges, fixed tests