added test case for array based time-dependence