Initialize Acitivy with Rank
Added test for kata activity error