Added PHPUnit dependency for testing
Added unit tests