Added unit tests for badge, code, label and well

Added unit tests for badge, code, label and well