fix a couple of warnings, make format more uniform
use Base.Test framework for tests
turn on code coverage in travis