added tests for timespan-selector directive