fix test with delete node (https://groups.google.com/forum/#!topic/sqlalchemy/gdwuMjNfrPc)