modified the auto test