Refactored and Created Tests for Register and Activation