fix C tests, simplify README and tests