rpearce: Use sub-environments for testing. Currently fails