fix bug in UserBlock class + fixed test for this block