bugfix, fixed incorrect function name
unit tests for spectrum calculated from correlation functions