Added unit tests for rolling_window function.