PROTECT/deep is in R3 only
Add test for bug#1977