fixed race conditionn in unit test
exclude build dir