Fix Error stack test. Thanks @simevidas