Added test case, and coveralls setting.