Use mock of root package in plugin tests