fix save-test    and implement delete-results