ENH: Added testing for applications and examples