test($interval): add tests making sure $interval uses the methods from $window