Added tests for bubbling errors.