Added auto test at the beginning