Convert all LongTo*Functions to new tests