Fix tests for is_copy_constructible triat and fix reference-to-reference issue (refs #8802).