added testcode in dirs