Tests for methods "data()" and "rowCount()"