intel/tools: Add test for state register as source