Fixes for anon test

Fixes https://github.com/Tribler/tribler/issues/640.
Yes, but it was executed twice (see line 212).