Addded tests, filled out block-scope, promise-manager and some of block-parser