update test.sh

Mostly better formatting.
tests: do not diff absolute path

warnings.warn sadly outputs an absolute path for each .py file. Just
search and replace it so that the tests run on other than my machine.
test table.py again
tests: remove filter test output

Line numbers in warnings.warn() cause tests to break every time we edit
a file like mineral.py. So filter them. Additionally, the "don't show
plots" renderer for the tests outputs some font warning we now filter.
tests: kill more annoying warnings