test for doing plots