user: add test cases for activation