Unit testing sampler for Polymer elements