fixed some bugs in blocks engine
stubbed out regression test functionality