More tests

add a test for update