Fix osg test build failure. Added CompileStatic on some groovy and fixed compile/test issues. All tests should build and pass