Improve assertion message
Merge branch 'release/v0.2.3'