Fix move pointer manipulation
Save a unique pointer in test
Remove get check