Add tests for test.support

Fix #718. Also improves support for signed zeros.