add functional test mojit