added checkRefTest - clicking ref and building report - initial stage