net_test_bluetooth: fix inconsistency in set/get name test

Fixed an issue where the set/get name test would fail every so often
due to the fact that the old name property would become invalid after
the properties array was freed. 

Bug: 25793348
Change-Id: I4513219da2fb947b3b199f25a61c308b9fced8b6
1 file changed