Merge pull request #179 from mkaring/1.4

Some improvements of errors revealed after the refactoring
Improved Object pool test
Merge remote-tracking branch 'GitHub-void/1.4' into 1.4