tests with and without exit_asap