mock unit test, abstracted factory name generator
mock unit test