Written first draft of unit test for goes_lx().
goes_lx(): changed occurences of "if cumulative:" to "if cumulative is True:"
to be more explicit and avoid unwanted behaviour.