unit tests -> graphics device = null