set the source dir and test dir