add mutex makefile and some test