Replace fail_unless with assert