Add test for checkReqs func.