Specify thread stack size for tests

It's my hope that this will cut down on sporadic errors that we're seeing in Travis CI:
java.lang.OutOfMemoryError : unable to create new native Thread