Specs for dynamic token replacement and multiple captures

Spec coverage for #13 and #14