Changed testing to output to stdout/stderr

This should help Travis CI give us better feedback