Added tests for `data` object.
Checked whether it remains the same whenever representations are changed.