I don't know why you can't just append the element to the parent, instead of cloning it then removing it.
Anyway
$('.test1').remove().clone().appendTo('#test');
Demo: Fiddle
If you want to copy the data and handlers associated with test1
to the clone then @ra_htial with a minor change have to be used
$('.clickdiv').on('click', function () {
var $el = $('.test1');
$el.clone(true).appendTo('#test');
$el.remove();
});
Demo: Fiddle