Unit Test for retrieving an object by Name.