Minor change - use SynchronousTestCase instead of TestCase

Except in the unitgration tests which are asynchronous.

Low priority, just a useful search/replace cleanup @lvh pointed out.