Testing infrastructure

You should also remove the listener from `ready`