Updating j.average~ implementation test to use testpackage (#542)
- reveals a problem where j.average~ occationally results in inf or nan
- reveals a problem where if we don't get inf/nan we still sometimes get erroneous values in the two upper tests
- also need to make a feature request for a @msoffset to test.equals~ as we in this case need to specify offset in time rather than samples