Change to test hook