Add test coverage for get_statistic_levels