Fix creating objects with the same names

 * Fixed unit-tests
 * Added new unit-tests
 * default project_id = <default_project>

Closes-bug #1385275

Change-Id: I65e239fe471117f5b11cfb56fec92e90083fe50b
Merge "Fix creating objects with the same names"