Added leaks test