Use assertIsInstance to test the results of get_engine and get_provider

Replace to TODO(boris-42) in test_engine and test_provider with
assertIsInstance.

Change-Id: I6c486520af15e928d2098a5c10d348b4a16b11da