Added tests for the CachedSinusGenerator. Need to fix the InWav test...