Added unit tests for StandardTemplate::NameExistsCheck().