Let compiler determine template arguments and string cast in test