Write tests for timeShift
Write tests for timeShift

Commit 70146ac introduced a bug in timeShift that made it return nothing
no matter what was passed in. The tests in this patch expose the bug.

dgryski/carbonapi