[tests] add phpunit tests
[feature] add autoloader