create autoload class for test unit
fix some tests
insert namespace