Add some asserts.
Changed tap output so that Jenkins displays a tests summary that is
easier to read.