Added test for Update API via native scripts

Motivation was to have a test ready as well as something other people could have a look at.