Adding a 'requires' decorator to unittest helpers, to see if a specific class is available