add PHPUnit test for class recipe