"RemoveBefore" tests and "RemoveBefore" bug fixes

"Count" reduction in case of "First" node removal is made twice - change
to once.
"removed" var initialized to null.