added unit tests for integer shifts
(#343)
Merge branch '#343' of github.com:GalSim-developers/GalSim into #343