Added terrain strategy tests and introduced strategy base class