First of all, dirt is reusable. You just add more amendments before you replant.
PH? If you run organic soil, ph is mostly insignificant. If you want to test the ph of your soil, you test runoff or buy a soil ph meter.
You also don't need to flush on soil if you do it right. I assume you're...