Improving some tests

It now checks warnings are being raised, and added a couple of pedantic=False for nicer output.