Merged schema test from odatalib.
Added tests for Type extension methods.