fix automatic test and remove manual test