Fixes for anon test

Fixes https://github.com/Tribler/tribler/issues/640.
Shouldn't you be calling collapse instead?