changed test because $interval is no longer used