add test test/test_dereference.py + memoryleaks in optiondescription's cache