add test for auto check