removed useless code in promise_spec
added YARD to copy on write observer set