checkForStack Fix

fixed a bug where 'checkForStack' thought all stacks without all three types of CFs were not defined. Added tests to verify.