Test errors for capital letters

Closes #35.