More tests and better errors
Merge remote-tracking branch 'origin/master'