added rnadom type generator
added tests for glb and fixed some issues triggered by the tests