tests for generate_matrix_filter and get_common_params