working tree creation and tests