use HOME in makefile
fix make and more tests
fix compile errors with mock
mock a factory method
mocked test cases
clean