added travis file, build status image and tweaked tests