Added #get_variables method and used to generate instance variables in #mean_hypothesis_test method