testcode updated