Removed some testcode