Improved example testability
Fix travis before_install