Fixed #1700 Add test to check the return type of value-type static methods in the language module