Add testcode