add test for gridgenerator.js

just a simple test for gridgenerator. cuz ya know. coverage++.