Fixed broken unit-test for user activation