test noncopyable