added extra test, fixed issue with inject block not returning created hash