Added unit-test for the rolechange activities update