Added some tests for gcapture. GCAPTURE is in fact constrained to the area selected with CFG_CLB
Added some code for measurements