Corrected tests to no longer use nonexistent str::is_not_empty