Row class tests, fixed more bugs