Small changes:
-Fix parameter input check
-Log message more informative
-TestProxy changed to provide memory leak test time