Added method to facilitate testing
Added phpunit as testing framework