Problem: selftest has memory leaks