fix g3d tests
Fix shadercollectiontest
Merge pull request #722 from xoppa/3dapi

3dapi test various