Add state headers to convenience header
Start on testing state
Only run test when framework is compiled for legacy GL