Interval Testing Procedure for functional data