Enhancing plugin mock creation