Added collapse possibility to the table board.
Added extra tests(some of them are not quite ok).