test: ensure that removeListener cleanup is working

Closes #11 by demonstrating its necessity.