add test mocha; add make file; add several tests