Fixed the test case for graphics