fix functional test module - clear global arrays after request