Adding a spec to ensure required behaviour.