add test case
update doc + fix gradle javadoc generation
Merge branch 'release/0.5.0' into develop