added a couple more tests for factory