Tests for gl-platform.