Add test with named non-copyable object