change error message to assert
add testcase for glGetAttachedShaders