Should raise exception when hitting obstacle tests