fix coveralls
added tests