Repaired the test of creating window and graphics engine. AH-293