fix #12 test failure due to line ending changes.

close #14
add travis integration

close #13