Fix failing test when tests are run with no network connection.
Remove incomplete tests

Delete tests that were testing features that no longer exist in
TestCase. Unskip tests that now work.
Fix indentation.
Merge pull request #3547 from cakephp/3.0-no-network

3.0 Fix failing tests when there is no network