Auto-stubbing of TimeRanges object doesn't work on FireFox

Fix by manually stubbing the object instead.