[Coding] pass pointer to key in var_create instead of duplicating key
[Tests] fix test name