Fixed build and increased the memory settings of surefire so that tests run properly.