Added missing decorators for error translation

Also tests added.

Fixes issue #41

Thanks to John Leach for his report!