fix notices
exit build on unit test failure
bump version to 1.7.0-beta2