fixed bug in UserBlock class + commit changes in test