Check for logging in test, fix plugin test