Updated graphicstest to be compatible with the port