Unit tests for ReguserHelper class