Fix: 'to have properties' does not include prototype functions on err.actual

Closes #48.