update cpplint
add tests and fix initial bugs