fix generator tests for primitive types