re #10657 added protection around xmin and xmax values + unit test
Merge branch 'feature/10657_CreateSampleWorkspaceCrash' into develop