Unit tests for PHP Library