updated memory test to not need galsim installed
(#389)