Add test with `names` provided.