added test for getAdjecentBlock