added regression test for button block