Update code style for dom panel test