Add mock to test-requirements.txt
Rename plugin initialization