add access to outputformat name and mimetype, duplicate grid so it draws, update tests