add sample to distribution
fix spelling errors and add test
fix Travis CI testing