Added some unit tests for RowCtrl