Fix display of test outputs and known failures in theano.test()

This should fix gh-1676