Moved table_size to ut_helper + added test for it.
Event handler test updated.