Fix leaky spec

Fixes #25