Turn test function into test class
Add test for outdated features and environments