Fixed test case.
Added badget of Travis and Coveralls.