composer hooks test