Added test for body class filter. Fixed issue with body class filter always returning empty array. Removed unused code