TypedStatisQuery now works for insert update and delete statements
Added relevant tests