Added unit tests for infobox. Updated test_infobox.py and changed threshold to 10%