Added test for removing category from message