Move tag prefill to Backbone, add tests