Split tests into core and alice-bob tests.

Also, guard all tests depending on an internet connection against failing if
that connection does not exist.