node testing, minor edits