Composer hook tests