added testcode file