Added testcode