Add new unit test for checking actor deletion
Fix #151 by releasing references held by functors