Updated test cases in benchmark types

Updated the test cases for increase unit test
coverage

Added following method
test_transform_by_regex_multiple_match
test_transform_by_id_from_base_class

Small nits in types module

Change-Id: Iee29ed36b086c956703a3f146f946a7cb1bfc23e
Implements: blueprint improve-unit-test-coverage-rally
Merge "Updated test cases in benchmark types"