fix searchwindowsize bug, add one test
add readme and travis