Remove unused tests and generated config.h