Added some testcode.