template used for testing hook