Add travis tests
replace zcat with gzip -dc it's more portable
Better example script
Simple tests for replacement