Update API for new insert at anchor.

 Update for #625. Also put those tests in own module. Fixed [qunit problem](http://stackoverflow.com/questions/17065488/qunit-setup-called-for-each-test-before-teardown) with requirejs, async and module setup.