add coveralls
fix deprecation warnings