Fixed test code for genmac return type.
Added generated metadata file to ignore file.