code cleanup/refactor
fix travis phpunit bootstap.

Signed-off-by: crynobone <crynobone@gmail.com>