Added test for kata activity error
Complete functionality requested