Added long running test to check for memory leaks