added custom blocks definition and all the blocks tests
minor changes in tests and buttons block