fix test, and ViewSample compile error
readme document