Refining tests, generate_dataset scripts.