Fix unit tests for intervalString