Interim commit: still debugging connection problems
Added basic activity tests for sanity checks.

All compiles. Testing now.