Add a simple regression test.
fix compiler warning in ne_read_simple.