re-enable tests for travis
Fix tests, create output directory.
Excluded tests and examples from package.
Merge pull request #161 from nwin/master

Some fixes