updated tests for userdata, metadata factory and configdrive liscence text