Added test for methods/extractStyles