added travis file, build status image and tweaked tests
updated travis file