Update tests to exercise move-construct/copy better.
Fix exposed bug in tommath backend.
See also https://svn.boost.org/trac/boost/ticket/9497.