add test project
better scratch dir
allow passing in scratch dir, or use current as default