Don't you need to test these classes?

Since it won't pass on Windows, you should put the class check in the non-Windows section.