made a spec more robust