More js tests

Working my way through the C# functional tests and duplicating tests that are not already there on the JS tests end of things.  There are some tests that cannot be replicated yet but will be once we build out the tooling for the js tests more.

C# functional test files that I haven't looked at yet are:
- DisconnectFacts.cs
- PersistentConnectionFacts.cs
- HubAuthFacts.cs
- HubFacts.cs
- SecurityFacts.cs