implementig row class and relative test