Copied PHPUnit tests for Phalcon