Add test 40 refactor how we get data type from type Call contains type now to handle certain record cases