Add clone() test.

This also refreshes the tests to properly compile with the latest
host toolchain.
4 files changed