Clear cache before running class_clear.test

This is weirdly necessary for my local phantomjs instance.
Hopefully we can get rid of this statement sometime.