Add test on creating instance with
file injection

Change-Id: I92dfe1da854dfc662f1b8b77e85e1e295b5790e6
Related-Bug: #1335697
Merge "Add test on creating instance with file injection"