auto self test