added more tests to Quantum\Object::extend
simplified Quantum\Object::extend validation