Fix tests compatibility with R16 and later

Some deprecated features were removed in R16, that's why dot-delimited
atoms are not syntactically valid anymore.