a function for testing the light curve generator against theoretical expectation and variance