Add test for #70 and Signal#countListeners method used by the test.
Fix #70; resets component operation handler when an Entity is
removed from an engine.
Fix ordering of arguments for test.