Update testcode