Use 'checkIdentical' rather than 'checkEquals'
Merge pull request #179 from RcppCore/bugfix/environment-tests

Use 'checkIdentical' rather than 'checkEquals'