build for test directory.