raise ValueError, in non int argument
implement some tests
refactoring
implement tests for model

- coverage 99%!
implement utils_test
fix utils to pass tests
add travis