added tests that null Intervals raise ValueError when inserted
changed AssertionErrors to ValueErrors for null intervals, fixed init from invalid intervals