add build_matrix_spec.rb