fixed horizontal and vertical blocking unittests