Remove unused testcode