fix omission of infoboxes when enabled
fixed unit test for infoboxes