Implement classfixture decorator for unit tests.