minor cleanup
fix: #4 "final" modifier not removed from parameter declarations
#2 rewritten replaceNode list property replacement
Test for issue #7. Bug already fixed with fix of #2