add test for autoplot