Sounds like you want to move the first div after the last.
$.fn.insertAfter inserts the matched elements after the parameter:
$(".test.one").insertAfter(".test.three");
http://jsfiddle.net/rP8EQ/
Edit: If you want a more general solution of adding the first to last, without resorting to the explicit classes:
var tests = $('.test');
tests.first().insertAfter(tests.last());