Increase speed and stability of tests.

Increased PermGen and heap space for tests.