Remove redundant FunctionalTest usage in API tests

test_types and test_utils test classes inherit from FunctionalTest
but don't use any of its functionality. They should be switched to
inheriting from TestCase.

Change-Id: I9f87b5c70e5e8fb7dd0e3e56d3b27054789389bf