Design of tests for mean and variance under complexity-an application to rock measurement data. (June 2021)