FLOE-116: Refactored resourceInputPanel tests

Broke out common test grades to be used when testing resourceInputPanel based grades. Also fixed a bug with the panel title.