Make tests for gmagic on sub exit count fetches