refactor dependency and add test
add libmcrypt package
php5 depends on libmcrypt
skip installed pkgs