badge and tests