PHP test application cookbook