Increased tests memory limit to 512M.

This was done because the tests need more memory to run in
Windows; doing this is okay because the limit exists just
to make sure that there are no memory leaks that result
in unbounded consumption of memory.