Added started during and ended during query methods to timeline and tests