Add source code and PHPUnit test case.