Bugfix: function declaration for TestTimeseries