Updated test for newer GalSim API