Test removing classes