Merge pull request #262 from timiblossom/1.2

Fix for issue 260

lgtm
[Gradle Release Plugin] - pre tag commit:  '1.2.17'.
[Gradle Release Plugin] - new version commit:  '1.2.18-SNAPSHOT'.
Put back assert so that it can pass the restore junit test