in your test you do this.
line117 of pastebin
$retval = $api->listSubscribe($listId, '[email protected]' );
which most likely will do the subscribe and send the email? or am I missing something?
so whenever you call your flashusers_chimptest.php
it is subscribed no matter what.