Added terrain generator test.
Terrain work, and switched mode.