Change StaticServer unit tests to share the NodeConnection Deferred to detect connection. Cleanup logging event handlers.
fix async bug in StaticServer when waiting for log message
Merge pull request #3829 from adobe/jasonsanjose/staticserver-tests

Fix async issues in StaticServer unit tests