added the last tests, now we have a line coverage of the 100%. Added also the istanbul dependency for Travis build.