Implemented RowResource tests and fixed a bug in the process