add spec helper for plugin tests