Tests and bug fixes

Insert and Update now working like champs in the Azure impl.