Added unit test for region map probability calculation.