Test modernized, Travis, Coveralls/Coverage
Improve test coverage, close #10
Merge pull request #28 from JuliaLang/testrefactor

Test modernized, Travis, Coveralls/Coverage, close #27