Added unit tests for CharmHelpers