add test suits; fix plugin config merge bug