Added cases from #51 to spec.

Closes #51.