fix #9;impl faultCallback and tests