test plugin loading error handling